Count number of time word occurs in string python